/*
 * Powered By [rapid-framework]
 * Web Site: http://www.rapid-framework.org.cn
 * Google Code: http://code.google.com/p/rapid-framework/
 * Since 2008 - 2016
 */

package com.jzwl.site.manager.nodetype.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jzwl.common.page.PageObject;
import com.jzwl.site.manager.nodetype.pojo.*;
import com.jzwl.site.manager.nodetype.dao.*;
import com.jzwl.site.manager.nodetype.service.*;


@Service("siteNodeTypeService")
public class SiteNodeTypeService {
	
	
	@Autowired
	private SiteNodeTypeDao siteNodeTypeDao;
	
	public boolean addSiteNodeType(Map<String, Object> map) {
		
		return siteNodeTypeDao.addSiteNodeType(map);
		
	}

	public PageObject querySiteNodeTypeList(Map<String, Object> map) {
		
		return siteNodeTypeDao.querySiteNodeTypeList(map);
	
	}

	public boolean updateSiteNodeType(Map<String, Object> map) {
	
		return siteNodeTypeDao.updateSiteNodeType(map);
	
	}

	public boolean deleteSiteNodeType(Map<String, Object> map) {
		
		return siteNodeTypeDao.deleteSiteNodeType(map);
	
	}
	
	public boolean delSiteNodeType(Map<String, Object> map) {
		
		return siteNodeTypeDao.delSiteNodeType(map);
	}
	
	
	@SuppressWarnings("unchecked")
	public SiteNodeType getById(Map<String, Object> map) {
		
		return siteNodeTypeDao.getById(map);
	}
	
	public List<Map<String, Object>> querySiteNodeTypeAll() {
		
		return siteNodeTypeDao.querySiteNodeTypeAll();
	
	}
}
